<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@include file="/WEB-INF/view/common/common.jsp" %>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link href="${ctx}/resources/mallcss/initcss.css" rel="stylesheet">
    <link href="${ctx}/resources/mallcss/common.css" rel="stylesheet">
    <style rel="stylesheet">

        .con {
            background-color: #e8e8e8;
            overflow: hidden;
        }

        header {
            height: 3.7em;
            background-color: #f03792;
            position: relative;
            text-align: center;
        }

        .Return, .Home {
            position: absolute;
            top: 0;
            width: 3.7em;
            height: 3.7em;
        }

        .Return {
            left: 0;
        }

        .Home {
            right: 0;
        }

        .Return span, .Home span {
            background: url("${ctx}/resources/mallimages/png.png");
            background-size: 17em;
            width: 1.7em;
            height: 1.7em;
            position: absolute;
            top: 1em;
            left: 1em;
        }

        .Return span {
            background-position: -0.17em -5.5em;
        }

        .Home span {
            background-position: -0.17em -8.1em;
        }

        .Title {
            font-size: 1.3em;
            line-height: 2.8em;
            color: white;

        }

        .itemsTitle {
            background-color: white;
            margin-top: 0.5em;
            height: 2.5em;
            border-bottom: 1px dashed #dedede;
        }

        .itemsTitle ul {
            overflow: hidden;
        }

        .itemsTitle ul li {
            width: 20%;
            float: left;
            text-align: center;
            font-size: 1em;
            line-height: 2.5em;
            white-space: nowrap;
            overflow: hidden;
        }







        .result {
            background-color: white;
        }

        .result ul {
            overflow: hidden;
        }

        .result ul li {
            width: 20%;
            float: left;
            text-align: center;
            font-size: 0.8em;
            line-height: 2.5em;
            white-space: nowrap;
            overflow: hidden;
        }

        .result p{
            padding-top: 0.5em;
        }



        .filter {
            background: white;
            height: 2em;
            display: flex;
        }

        .filter ul {
            /*position: absolute;*/
            display: flex;
            justify-content: space-between;
            align-items: center;
            bottom: 0em;
            width: 100%;
        }

        .filter ul li {
            font-size: 0.9em;
            float: left;
            text-align: center;
        }

        .filter ul li input{
            width: 80%;
            height: 50%;
        }
        /*.filter ul li.activity {*/
        /*padding-bottom: 1em;*/
        /*}*/

        .filter ul li.activity a {
            color: red;

        }



        .accounts ul li {
            background-color: #FEFFFE;
            border-bottom: 1px solid #ebebeb;
            padding: 0.5em 0.5em;
            overflow: hidden;
            position: relative;

        }

        .accounts ul li img {
            width: 4em;
            border-radius: 4em;
            float: left;
        }

        .accounts .accountsInfo {
            margin-left: 1em;
            display: inline-block;
            padding-top: 0.6em;
        }

        .accounts .accountsInfo h4 {
            color: #a5a5a5;
            padding-top: 0.8em;

        }

        .accounts .accountsInfo h3 {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 15em;

        }

    </style>
    <title>转货记录</title>
</head>
<body>
<div class="con">
    <div class="carts ">

        <div class="cart">
            <div class="itemsTitle">
                <ul>
                    <li><span class="from">奖励人</span></li>
                    <li><span class="to">受益人</span></li>
                    <li><span class="to">日期</span></li>
                    <li><span class="to">金额</span></li>
                    <li><span class="to">类型</span></li>
                </ul>
            </div>

            <div class="result mySendReward">
                <c:forEach items="${rewardDetail}" var="cart">
                    <ul>
                        <li class="activity"><span class="from">${cart.fromAgent.realName}</span></li>
                        <li class="toli"><span class="to">${cart.toAgent.realName}</span></li>
                        <li><span class=""><fmt:formatDate value="${cart.transferTime}" pattern="yyyy-MM-dd" /></span></li>
                        <li><span class="rewardDetail">${cart.amount}</span></li>
                        <li><span class="rewardDetail">${cart.remark}</span></li>
                    </ul>
                </c:forEach>

            </div>

        </div>

    </div>


</div>
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script>
</script>

</body>
</html>